﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Drawing;

namespace Sistema.WF.Componentes
{
    public class R2Configuracoes
    {
        private Font _fonte;
        private Color _corFundo;
        private Color _corErro;

        public Color CorFundo
        {
            get { return _corFundo; }
        }

        public Font Fonte
        {
            get { return _fonte; }
        }

        public Color CorErro
        {
            get { return _corErro; }
        }

        public R2Configuracoes()
        {
            this._fonte = new System.Drawing.Font("MS Trebuchet", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this._corFundo = System.Drawing.Color.FromArgb(105, 150, 205);
            this._corErro = System.Drawing.Color.Tomato;
            Icone();
        }


        /* public System.Drawing.Font Fonte()
        {
            System.Drawing.Font fonte = new System.Drawing.Font("MS Trebuchet", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            return fonte;
        }*/
        /*   public System.Drawing.Color CorFundo()
        {
            System.Drawing.Color cor = new System.Drawing.Color();
            cor = System.Drawing.Color.FromArgb(105, 150, 205);
            return cor;
        }*/

        public System.Drawing.Color OnFocus()
        {
            System.Drawing.Color cor = new System.Drawing.Color();
            cor = System.Drawing.Color.White;
            return cor;
        }
        public System.Drawing.Color LostFocus()
        {
            System.Drawing.Color cor = new System.Drawing.Color();
            cor = System.Drawing.Color.White;
            return cor;
        }
        public System.Drawing.Color OnCheck()
        {
            System.Drawing.Color cor = new System.Drawing.Color();
            cor = System.Drawing.Color.FromArgb(105,150,210);
            return cor;
        }
        public System.Drawing.Icon Icone()
        {
            return Componentes.Properties.Resources.info;
        }
    }
}
